from django.contrib import admin

# Register your models here.
from .models import User, Udetail

class UdetailInline(admin.StackedInline):
    model = Udetail
    extra = 1

class UserAdmin(admin.ModelAdmin):
    inlines = [UdetailInline]

admin.site.register(User, UserAdmin)
admin.site.register(Udetail)
